package learn.testenum;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author 宋贤坤
 * @date 2019/5/9 18:35
 */
public enum LocationType {

    URL(0, "网络图片"),
    BASE64(1, "本地图片");

    private Integer code;
    private String desc;

    LocationType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
